//
//  VMCPageFlowController.m
//  vmcshop 页面流程控制器
//
//  Created by bigknife on 14-10-9.
//  Copyright (c) 2014年 idongler. All rights reserved.
//

#import "VMCPageFlowController.h"

@implementation VMCPageFlowController
+(instancetype) sharedInstance {
    static VMCPageFlowController *instance;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[self alloc] init];
    });
    return instance;
}

-(BOOL)needShowWelcome{
    //暂时直接进入
    return NO;
}

-(void)showWelcome{
    //nothing to do
}
-(void)showBizModule:(NSString *)bizTag{
    UIViewController *controller = [self.delegate factoryViewControllerWithBizTag:bizTag];
    if (controller) {
        [UIApplication sharedApplication].keyWindow.rootViewController = controller;
    }
}
@end
